home *** CD-ROM | disk | FTP | other *** search
- GREGORY,
-
- I don't think the hotspot determines the collision: I think it is just the part
- of the bob that is positioned according to the coordinates you determine. AMOS
- detects collision when the bobs/sprites outlines hit, but if you want to make
- sure the outlines you want as the outlines of the bob are those that trigger a
- collision then you set the background colour of your bob as transparent using
- Make Mask.
-
- One thing i would like to know: I see there is an example of a breakout game in
- the AMOS Pro help files, but the blocks are all represented by bobs. I think
- this is a cheat, as an attempt to program a proper breakout game using bobs
- only would probably exceed the maximum number of bobs.
-
- I thought it might be possible to do this using Paste Bob to set up a screen,
- but how could one program a collision detection system that would make the ball
- bounce off the outline of each block, and then allow one to delete it and
- replace it with a background icon?
-
- I know breakout is the oldest game there is, but I am only programming for fun,
- and as an educational experience.
-
- Thanks,
-
- Jonathan
- _______________________________________________________________________________
- From: GREGORY on Wed, Dec 7, 1994 14:27
- Subject: About Hotspot
- To: amos-list@access.digex.net
-
- Please could anyone answer me this:
- During collision detection, AMOS uses hotspot's position to
- determine if a collision took place? For instance when I have
- placed my hotspot to the upper-right and a bad guy comes from the
- left, what'd happend? The bad bob would overlap my bob?
- P.S. Sorry about my terrible English...
-
-
-